home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d27 / nuke2.arc / NUKE.DOC < prev    next >
Text File  |  1990-08-23  |  4KB  |  66 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                    NUKE v1.1
  8.  
  9.               Copyright (c) 1990 David Lipper. All rights reserved.
  10.  
  11.     I got tired of waiting for slow programs taking forever to erase
  12. subdirectory trees with tons of files in them, so I wrote my own solution.
  13. This program takes advantage of the DOS "del *.*" command, since it is the
  14. fastest way that I know to delete a lot of files. Since the "del *.*" command
  15. prompts the user for conformation, I have implemented an input file called
  16. "yesman.fil" full of "y" to answer the conformation; to make the whole thing
  17. neat and of minimal inconvenience, I have included a batchfile to get input
  18. from "yesman.fil" and to direct output to the null device. The program takes
  19. one commandline parameter (as does the batchfile), that being the full path
  20. (<drive>:\<path>) to be deleted. If you get "file not found" messages, that
  21. just means that some (or all) of the subdirectories in the tree are already
  22. empty, and does not mean an error occurred. If you use this program (which
  23. is not freeware, shareware or crippleware, but survivalware (tm)), please
  24. make a contribution to Greenpeace (or other environmentalist group). Thanks.
  25. Note: be sure to add your paths to NUKEIT.BAT if you want to use it from other
  26. than the directory that contains NUKE.EXE, SAFENUKE.EXE and YESMAN.FIL. NUKE
  27. assumes you have command.com in c:\. Please do not break up this archive.
  28. NUKE with no commandline gives a brief help screen. The Turbo Pascal 5.5 source
  29. code for NUKE is available for $5 from the address below:
  30.  
  31.       David Lipper
  32.       41 Greenridge Ave.
  33.       White Plains, N.Y. 10605
  34.       ------------------------
  35.  
  36.     NUKE can delete up to 64 directories in one shot (but I could increase
  37. that if there was a demand for it). Be careful using NUKE, since if you don't
  38. use the SAFENUKE program, there is no opportunity to change your mind once the
  39. program is invoked (how fast can you hit Ctrl-Break ?). If NUKE is invoked
  40. from a subdirectory in the delete path, it will leave you in the root
  41. directory after it is done. The latest version will be available on (and
  42. you can leave me e-mail on):
  43. The Brentwood BBS (914)835-7898  1200/2400 baud (38,400 HST w/subscription)
  44. Over the Edge BBS (914)747-4635  1200/2400 baud
  45.  
  46. Comments / suggestions are welcome. This program is offerred as-is; in no
  47. event shall the author be held responsible for loss or damage resulting from
  48. the use / misuse of this program. There are no warrantees, expressed or
  49. implied. If you nuke your data, it's your fault.                         
  50. NUKE
  51. Revision history:
  52. 1.00   -   initial release
  53. 1.01   -   changed incorrect filename (killdir) to NUKE in batchfile
  54. 1.10   -   changed .EXE file to use direct screen writes so messages can be
  55.            seen even when output is redirected to NUL. Also added SAFFENUKE
  56.            program to give the user a chance to change their mind. SAFENUKE
  57.            wants a "yes" to proceed; "y" will not do. If you do not want to
  58.            see any messages (except the unavoidable "file not found" when you
  59.            delete an empty subdir - I can fix this, if it really bothers anyone)
  60.            get NUKE v2.0A.
  61. 2.0/2.0A - Rewrote alot of code, v2 is slightly smaller & faster (less
  62.            convoluted) - I realized that there were major quirks/bugs in v1.1;
  63.            sorry, I think they have all been fixed. v2.0 will write msgs to the
  64.            screen even when output is redirected; v2.0A will not write to the
  65.            screen when output is redirected.
  66.